#include <iostream>

#include "Observer.hpp"
#include "ObservedObject.hpp"
#include "BinObserver.hpp"
#include "HexObserver.hpp"

#include "Observer.cpp"
#include "ObservedObject.cpp"

using namespace std;

int main()
{
    ObservedObject<int> * number = new ObservedObject<int>(0);
    new BinObserver(number);
    new HexObserver(number);

    number->setValue(3);
    number->setValue(4);
    number->setValue(5);
    delete number;
}